package com.alks.function.data.dto.stockdept.pcfactorystockwork;

import com.alks.entity.deserializer.LocalDateTimeDeserialize;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.time.LocalDateTime;

/**
 * @author: chen
 * @date: 2024/11/12
 * @description: 成品收发DTO
 */
@Data
@ApiModel(value = "成品收发DTO")
public class FinishRecTempDto {

    @ApiModelProperty(value = "品牌")
    private String custom;

    @ApiModelProperty(value = "指令")
    @NotBlank(message = "指令不能为空")
    private String lotNo;

    @ApiModelProperty(value = "型体")
    private String style;

    @ApiModelProperty(value = "订单量")
    private Integer orderQty;

    @ApiModelProperty(value = "线别")
    private String line;

    @ApiModelProperty(value = "入库量")
    private Integer inQty;

    @ApiModelProperty(value = "出库量")
    private Integer outQty;

    @ApiModelProperty(value = "客人交期")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime deliveryDate;

    @ApiModelProperty(value = "操作时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime sysDate;

    @ApiModelProperty(value = "缴库海关编码(存储最近一次录入的值，用于默认回填)")
    private String inHSCode;

    @ApiModelProperty(value = "出库海关编码(存储最近一次录入的值，用于默认回填)")
    private String outHSCode;

}
